package com.egg.basic.model.request;

import com.egg.common.core.model.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author east
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "支付新增")
public class PayPost extends BaseRequest {


    @ApiModelProperty(value = "支付类型", required = true, notes = "com.egg.basic.enums.pay.PayTypeEnum")
    private String payType;

    @ApiModelProperty(value = "支付端类型", required = true, notes = "com.egg.basic.enums.pay.ClientTypeEnum")
    private String clientType;

    @ApiModelProperty(value = "业务类型, 区分某个应用下多个支付场景", required = true, notes = "com.egg.basic.enums.pay.BusinessTypeEnum")
    private String businessType;

    @ApiModelProperty(value = "业务ID", required = true)
    private String businessId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "金额(分)", required = true)
    private Long amount;

    @ApiModelProperty(value = "描述", required = true)
    private String subject;


}
